var express = require('express')
    , bootable = require('bootable');

var autowire = require("java").autowire;

var app = bootable(express());

app.phase(autowire("root.config", "routes"));
app.phase(autowire("root.config", "httpServer"));
app.phase(bootable.initializers(__dirname + '/config/init'));

app.boot(function(err) {

});


